package com.punai.customer.domain;

import com.punai.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 工序分包费用项 关联 材机分类对象 dmc_link_gxfee_category
 *
 * @author ruoyi
 * @date 2022-12-09
 */
public class CusLinkGxfeeCategory {

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 工序分包费用项id
     */
    @Excel(name = "工序分包费用项id")
    private String gxId;

    private String specId;

    /**
     * 分类id
     */
    @Excel(name = "分类id")
    private String categoryId;

    /**
     * 消耗量
     */
    @Excel(name = "消耗量")
    private BigDecimal consumption;

    /**
     * 关联的材机类别(CL/JX)
     */
    private String type;

    private String gkItem;

    private String delFlag;


    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public String getGxId() {
        return gxId;
    }

    public void setGxId(String gxId) {
        this.gxId = gxId;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setConsumption(BigDecimal consumption) {
        this.consumption = consumption;
    }

    public BigDecimal getConsumption() {
        return consumption;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getGkItem() {
        return gkItem;
    }

    public void setGkItem(String gkItem) {
        this.gkItem = gkItem;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("companyId", getCompanyId())
                .append("gxId", getGxId())
                .append("categoryId", getCategoryId())
                .append("consumption", getConsumption())
                .toString();
    }
}
